Connect to Internet
(19 actions, 11 KB)
0 Text
➔ attempts
»
3
7
9
12
attempts
1 Actions > IsOnlineIntent »
2 If
[1 Is Online]
is
3 Actions > GlobalVariableSetNumber
value
:
0
key
:
[0 attempts]
action
:
set
4 Run Shortcut
Save Cellular Data
Workflow
:
{ "workflowIdentifier": "944C3FC8-32DC-4CF9-875F-288C58686253", "workflowName": "Save Cellular Data", "isSelf": false }
5 Stop This Shortcut
6 Otherwise
7 Actions > GlobalVariableGetNumber »
key
:
[0 attempts]
8 If
[7 Global Variable — Number]
>
3
9 Actions > GlobalVariableDelete
keys
:
[0 attempts]
10 Stop This Shortcut
11 End If
12 Actions > GlobalVariableSetNumber
value
:
1
key
:
[0 attempts]
action
:
increment
13 Turn Airplane Mode
Off
14 Turn Wi-Fi
On
15 Turn Cellular Data On
16 Wait
5
seconds
17 Run Shortcut
Connect to Internet
Workflow
:
{ "workflowIdentifier": "DB53B8EE-E9F7-44E2-B523-098556EF3A38", "workflowName": "Connect to Internet", "isSelf": true }
18 End If ▵
6